package com.microinvest.service;

import com.microinvest.util.Result;

public interface BusinessService {
//    Result<String> addStockData();
//    Result<String> testToGetUserStockSummary(Integer userId);


    //用户购买股票服务
    Result<String> userBuyStock(int userId, String stockSymbol,double buyPrice,int quantity);

    //用户卖出股票
    Result<String> userSellStock(int userId,String stockSymbol,double sellPrice,int quantity);

    //用户收藏股票
    Result<String> userStarStock(int userId,String stockSymbol);

}
